from django.db import models

# Create your models here.

class Article(models.Model):
    user=models.CharField(max_length=32,default="user")
    password=models.CharField(max_length=32,default="password")
    username=models.CharField(max_length=32,default="username")
    phone = models.CharField(max_length=11, verbose_name=u"手机号码", null=True, blank=True)
    birthday = models.DateField(verbose_name=u'生日', null=True, blank=True)
    gender = models.CharField(max_length=10, choices=(("male", u'男'), ("female", u'女')), default='female')

class News(models.Model):
    titles=models.CharField(max_length=32,default="title")
    datads=models.CharField(max_length=32,default="linkto")
    imglinks=models.CharField(max_length=32,default="imglink")
  